home *** CD-ROM | disk | FTP | other *** search
/ ASL 120: Business 2 / ASL 120: Business 2.iso / aslvol20 / appl6 / addendum.doc next >
Text File  |  1992-06-19  |  39KB  |  1,086 lines

  1.  
  2.  
  3.                             {COMMO} 5.3 Addendum
  4.                             ____________________
  5.  
  6.      This Addendum contains the major additions and/or changes to the
  7.      {COMMO} 5.2 documentation.  Print out this file and keep it with
  8.      your printed manual.
  9.  
  10.  
  11.      ===============================
  12.      In the User Guide and Reference
  13.      ===============================
  14.  
  15.  
  16.      Under "Command Line Options"
  17.      ----------------------------
  18.  
  19.      /vnnnnn        Size of String Variable Space.
  20.  
  21.           The size of String Variable Space can be adjusted from 512
  22.           bytes to 65535 bytes.  The default is 1536 bytes.  Example:
  23.           /v3000 will set the size to 3000 bytes.
  24.  
  25.  
  26.      Setup File changes/additions
  27.      ----------------------------
  28.  
  29.      _________________________________________________________
  30.  
  31.      {sld=no}       Stop serial input during disk I/O (yes/no)
  32.      _________________________________________________________
  33.  
  34.           This should be set to "yes" if your system drops characters
  35.           when a disk (hard or floppy) is accessed.  The symptoms are
  36.           missing characters in the Terminal Screen when capture is on
  37.           or excessive CRC/csum errors during internal protocol file
  38.           transfers.
  39.  
  40.           This is equivalent to what some programs call "handshake
  41.           slow."  In {COMMO} it works in conjunction with Hardware
  42.           Flow Control (RTS/CTS), so both {COMMO} and your modem must
  43.           have Hardware Flow Control engaged.
  44.  
  45.           If you use an external protocol driver be sure to set the
  46.           "handshake slow" parameter in that program as well.
  47.  
  48.  
  49.  
  50.      _________________________________________
  51.  
  52.      {com=1,3f8,4}       Com1 port address/IRQ
  53.      {com=2,2f8,3}       Com2 port address/IRQ
  54.      {com=3,3e8,4}       Com3 port address/IRQ
  55.      {com=4,2e8,3}       Com4 port address/IRQ
  56.      _________________________________________
  57.  
  58.           These are the hardware serial port base address and IRQ
  59.           assignments.  The settings shown are the most common, but
  60.           some serial adapters are different.  The serial adapter
  61.           manual may give a range of addresses, for example "3f8-3ff." 
  62.           Use the first value as the base address.
  63.  
  64.           Port addresses are in hexadecimal and may range from 0 to
  65.           ffff.  IRQ numbers are decimal and may range from 0 to 15
  66.           (avoid use of IRQ numbers that are used by system hardware,
  67.           e.g., 0, 1, 8, etc.).  IRQ numbers from 8 to 15 are
  68.           available only on AT class machines.
  69.  
  70.      ____________________________________________________
  71.  
  72.      {set _dialsr,CONNECT}    Dialing success response(s)
  73.      {set _dialfr,BUSY,NO CARRIER,NO DIALTONE}
  74.                               Dialing failure response(s) 
  75.      {set _dialir,RING}       Inter-dial response(s)          
  76.      ____________________________________________________
  77.  
  78.           These reserved variables each define a list of response
  79.           strings that are returned by your modem during dialing
  80.           operations.  Most "Hayes compatible" modems use similar
  81.           responses, but there may be subtle differences.  Consult
  82.           your modem manual for details.
  83.  
  84.           "Success" responses are received when the modem has
  85.           connected with a remote modem.  "Failure" responses occur
  86.           when the number being called is busy, doesn't answer or when
  87.           something is wrong with the telephone line.  {COMMO} will
  88.           automatically redial the number after a failed attempt.
  89.  
  90.           Inter-dial Delay responses may occur during the delay
  91.           between dialing attempts, usually when someone is trying to
  92.           call you.  These may be handled by using the Inter-dial
  93.           Delay macro label in the DIAL macro function.  See the Macro
  94.           Programming Guide for details.
  95.  
  96.           Some modems use a CARRIER response to indicate the modem
  97.           speed, e.g. CARRIER 2400.  In this case using CARRIER
  98.           instead of CONNECT will improve the accuracy of the Usage
  99.           Log.  In order to avoid confusion with a NO CARRIER
  100.           response, you should use:
  101.  
  102.            {set _dialsr,CARRIER }    Notice the space after CARRIER.
  103.  
  104.  
  105.  
  106.           Do not include the speed in the CONNECT or CARRIER response
  107.           if you are enabling AutoBaud.
  108.  
  109.           Responses are case sensitive and there should be no null
  110.           strings or extra spaces.
  111.  
  112.      _____________________________________________
  113.  
  114.      {swp=}         Pathname for Swap to Disk File
  115.      _____________________________________________
  116.  
  117.           This file will be used to save the program and data during a
  118.           Swap to Disk.  You may optionally Swap to Disk when using
  119.           the Shell to DOS key command or the EXECute macro function.
  120.  
  121.           It's a good idea to use a unique filename.  For example:
  122.  
  123.                {swp=c:\commo\swapfile.$$$}
  124.  
  125.           IMPORTANT:  You must also specify the "S" switch on any
  126.           EXECute or SHELl macro functions where swapping is desired.
  127.  
  128.           Before using this feature, read the section "Using the Swap
  129.           to Disk switch, EXEC-S" under EXECute in the Macro
  130.           Programming Guide.
  131.  
  132.      ______________________________________________________________
  133.  
  134.      {dat=mdy}      Order of date parameters (m=month,d=day,y=year)
  135.      ______________________________________________________________
  136.  
  137.           This item allows you to specify any order for the three date
  138.           parameters.  The default shown would display May 20, 1992 as
  139.           05/20/92.  "ymd" would display as 92/05/20.
  140.  
  141.           This format will appear in the Date Last Called field of the
  142.           Dialing Directory, the Usage Log and the built-in variable
  143.           "_dat".
  144.  
  145.      _______________________________________
  146.  
  147.      {tim=12}       Time format (12/24 hour)
  148.      _______________________________________
  149.  
  150.           You can specify 12 or 24 hour time format.  12 hour will add
  151.           "am" or "pm" as in "2:30 pm".  24 hour would show the same
  152.           time as "14:30".
  153.  
  154.           The time format appears on the Status Line, in the Usage Log
  155.           and in the built-in variable "_tim".
  156.  
  157.  
  158.  
  159.      _________________________________________
  160.  
  161.      {gdc=}         Graphic display characters
  162.      _________________________________________
  163.  
  164.           This item allows you to specify the graphic characters used
  165.           by {COMMO} to form the various display windows and is
  166.           provided for compatibility with display adapters used in
  167.           certain countries.
  168.  
  169.           When using this item, eleven ASCII character codes may be
  170.           listed (omitted fields will revert to the defaults).  Codes
  171.           are specified as decimal numbers from 1 to 255 (0, 10 and 13
  172.           are not allowed).
  173.  
  174.           As an example, here is how the default characters would be
  175.           listed:
  176.  
  177.                {gdc=213,184,212,190,205,179,185,204,176,250,177}
  178.  
  179.           where:
  180.  
  181.                     213 = upper left box corner
  182.                     184 = upper right box corner
  183.                     212 = lower left box corner
  184.                     190 = lower right box corner
  185.                     205 = horizontal line
  186.                     179 = vertical line
  187.                     185 = left side of box title
  188.                     204 = right side of box title
  189.                     176 = file window title fill
  190.                     250 = input fill and password hiding
  191.                     177 = Online Help separator bar
  192.  
  193.      Under "Uploading/Downloading"
  194.      -----------------------------
  195.  
  196.      When you press PgUp or PgDn you will be presented with a menu
  197.      from which you may select a file transfer protocol.  Protocols
  198.      provide the ability to transfer (send and receive) any type of
  199.      data using error detection and correction techniques.
  200.  
  201.      The PgUp and PgDn menus are implemented using {COMMO}'s powerful
  202.      Macro Processor which enables you to execute internal and
  203.      external protocols easily and seamlessly.  You may alter these
  204.      macros to suit your individual needs.
  205.  
  206.  
  207.      Internal Protocols
  208.      ==================
  209.  
  210.      {COMMO} provides a number of variations on the Xmodem and Ymodem
  211.      protocols which afford you varying degrees of convenience, speed
  212.      and security.
  213.  
  214.  
  215.  
  216.      Xmodem is the most basic protocol, sending data one block at a
  217.      time and waiting for a response to each block.  If the block was
  218.      received with errors, the receiver requests retransmission.  A
  219.      filename must be supplied at both ends of the transfer (they need
  220.      not be the same).
  221.  
  222.      Ymodem adds the capability of batch (multi-file) transfers.  It
  223.      also sends the name and size of each file just prior to
  224.      transmission of the file (the receiver does not supply any
  225.      filenames).
  226.  
  227.      NOTE:  If an incoming filename matches an existing filename in
  228.      the target directory, the batch transfer will be cancelled.  You
  229.      can force overwriting of like-named files by adding the "Y"
  230.      switch to the Ymodem macros.
  231.  
  232.      There are a number of variations which apply to both Xmodem and
  233.      Ymodem.  You should choose the best variations depending upon
  234.      which protocols are offered by the remote system you are calling
  235.      (and whether or not you have an error-correcting modem).
  236.  
  237.           CRC       This is a very reliable block-check method and
  238.                     should be used whenever possible.
  239.  
  240.           Csum      This block-check method is not as reliable and
  241.                     should not be used unless there is no other
  242.                     option.
  243.  
  244.           1k byte block size       The larger block size is much more
  245.                                    efficient and is preferred unless
  246.                                    noisy lines are causing a lot of
  247.                                    block retransmissions.
  248.  
  249.           128 byte block size      The small block size should be used
  250.                                    only when there is no other option
  251.                                    or on noisy lines.
  252.  
  253.           G         The "G" method eliminates the receiver's response
  254.                     to each block and is much faster.  It still
  255.                     performs error checking, but not error recovery. 
  256.                     Therefore it should only be used with an error-
  257.                     correcting modem or on a direct connection between
  258.                     computers.
  259.  
  260.                     When an error is encountered, the transfer will be
  261.                     cancelled.  Partial files will be kept.  The "G"
  262.                     method always uses CRC and 1k blocks.
  263.  
  264.                     Software (XON/XOFF) Flow Control may be required
  265.                     by some remote systems and/or public networks.  If
  266.                     you get frequent errors when using the "G" method,
  267.                     make sure Software Flow Control is on.
  268.  
  269.      IMPORTANT:  The macros that support the internal protocols are
  270.      set up for the most common situations.  Many variations are
  271.  
  272.  
  273.  
  274.      possible by modifying these macros.  Please refer to descriptions
  275.      of the functions RXMOdem, RYMOdem, SXMOdem and SYMOdem in the
  276.      Macro Programming Guide for details.
  277.  
  278.  
  279.  
  280.      ==============================
  281.      In the Macro Programming Guide
  282.      ==============================
  283.  
  284.  
  285.      A Macro Example in Detail
  286.      =========================
  287.  
  288.      The following macro example from SAMPLES.MAC can be used to log
  289.      in to many types of Bulletin Board Systems.  This is a Linked
  290.      Macro, so the label "login" would appear in the Dialing Directory
  291.      macro field for each system that uses it.  When you dial and
  292.      connect to one of the systems, {COMMO} will automatically GOTO
  293.      the macro.
  294.  
  295.      The subroutine "gls" (generic login subroutine) can also be
  296.      called from macros that perform mailruns and other BBS
  297.      operations.
  298.  
  299.      Note that labels and functions may be placed side by side on the
  300.      same line (up to 255 characters).  For purposes of this example
  301.      each item is placed on its own line.
  302.  
  303.      The main routine at "login" performs some initial functions and
  304.      then calls the subroutine at "gls".  The subroutine looks for
  305.      various prompts, responds to them and terminates after responding
  306.      to the "password" prompt.
  307.  
  308.  
  309.      {:login}
  310.  
  311.                The entry point.  All labels begin with a ":".
  312.  
  313.           {capture y,c:\commo\commo.cap}
  314.  
  315.                "y" means open the Capture File.  The pathname of the
  316.                file is specified here, otherwise the current file
  317.                would be opened.
  318.  
  319.           {asci ,}
  320.  
  321.                Set ASCII Upload to "no pacing."
  322.  
  323.           {call gls}
  324.  
  325.                CALL the macro at "gls".  When the subroutine executes
  326.                a RETUrn, control will come back here.
  327.  
  328.           {}
  329.  
  330.                STOP and resume manual operation in the Terminal
  331.                Screen.  Without this STOP processing would continue
  332.                into subsequent macros.  Remember that labels are
  333.                "passed over" during sequential macro processing.
  334.  
  335.  
  336.  
  337.      {:gls}
  338.  
  339.                The entry point of the "gls" subroutine.
  340.  
  341.           {setlook 60,hng,10,|}
  342.  
  343.                This function specifies parameters that go into effect
  344.                whenever a LOOKfor executes.  It tells the Macro
  345.                Processor to wait up 60 seconds for the string (or
  346.                strings) and to GOTO the label "hng" if none of the
  347.                strings appear within that time.  The timer is
  348.                restarted each time a LOOKfor begins to execute.
  349.  
  350.                The SETLook also specifies that a "|" (carriage return)
  351.                should be sent to the modem whenever 10 seconds have
  352.                elapsed and no characters are received.  This is used
  353.                to respond to prompts that are not explicitly specified
  354.                in CALOoks, LOOKfors, etc. (e.g., "Press any key to
  355.                continue").
  356.  
  357.                Use this latter facility with care since a BBS may
  358.                spend time processing and not actually be expecting
  359.                input from the caller.  The carriage returns sent will
  360.                accumulate and be used to satisfy later prompts,
  361.                causing things to get out of "sync."  Adjust the 10
  362.                second timeout as needed.
  363.  
  364.      {:li1}
  365.           {calo li1,li2,(enter)}
  366.  
  367.                The CALOok remembers a string to look for, but does not
  368.                wait for the string (only a LOOKfor can do the actual
  369.                waiting).  In this case the string "(enter)" is
  370.                remembered.  The label "li2" is the macro to be CALLed
  371.                when the string appears.  "li1" is the label to return
  372.                to when the macro executes a RETUrn.
  373.  
  374.                When any of the remembered strings appear, the strings
  375.                are all "forgotten."  Thus the CALOok is told to return
  376.                to "li1" where all the strings can be set up again.
  377.  
  378.           {calo li1,li3,graphics (enter)}
  379.           {calo li1,li4,first name}
  380.           {calo li1,li5,last name}
  381.           {calo li1,li3,is this correct}
  382.  
  383.                More CALOoks are used to set up more strings to look
  384.                for.
  385.  
  386.           {golo li1,;passwor}
  387.  
  388.                A GOLOok will set up a string and GOTO the label if the
  389.                string appears (only one label is used here).  In this
  390.                example the specified string is to be ignored.  This
  391.                was needed for a BBS that used the string
  392.  
  393.  
  394.  
  395.                "first;last;password" prior to the actual password
  396.                prompt.
  397.  
  398.           {lookfor password}
  399.  
  400.                This is where the actual "looking" takes place. 
  401.                Remember that CALOoks and GOLOoks only cause strings to
  402.                be remembered but do not actually wait for the strings.
  403.  
  404.                The LOOKfor will wait for the string specified and also
  405.                any other remembered strings (up to 16 total).  If the
  406.                string in the LOOKfor appears, control passes to the
  407.                next macro function.  All strings are "forgotten" when
  408.                any one of them appears, or if the LOOKfor timer
  409.                expires.
  410.  
  411.                "password" is assumed to be the last prompt in the
  412.                login sequence.  
  413.  
  414.           {send ~%_pas|}
  415.  
  416.                Control then passes here and the string is sent to the
  417.                modem.  The tilde (~) causes a half-second delay before
  418.                sending the password.  The password in the Dialing
  419.                Directory entry was stored into the built-in variable
  420.                "_pas" when dialing began.
  421.  
  422.                Finally, a carriage return (|) is sent.
  423.  
  424.           {return}
  425.  
  426.                This will RETUrn to the "login" macro.
  427.  
  428.      {:li2}
  429.           {send ~|}
  430.  
  431.                If a prompt requires a carriage return (|) to be sent,
  432.                the CALOok would set up to come here.
  433.  
  434.           {return}
  435.  
  436.                The return point ("li1") was the first argument of the
  437.                CALOok, so control returns there.
  438.  
  439.      {:li3}
  440.           {send ~y|}
  441.  
  442.                This is used to reply to prompts that are to be
  443.                answered with "y<cr>".
  444.  
  445.           {return}
  446.  
  447.      {:li4}
  448.           {send ~Fred|}
  449.  
  450.  
  451.  
  452.                Response to "first name".
  453.  
  454.           {return}
  455.  
  456.      {:li5}
  457.           {send ~Brucker|}
  458.  
  459.                Response to "last name".
  460.  
  461.           {return}
  462.  
  463.  
  464.      ------------------------------------
  465.      New or changed function descriptions
  466.      ------------------------------------
  467.  
  468.      _________
  469.  
  470.      DECRement
  471.      _________
  472.  
  473.      Default key:   none
  474.      Description:   Subtract a number from a numeric variable.
  475.  
  476.      Examples:
  477.  
  478.           {decr count}        Subtract 1 from the variable "count".
  479.           {decr apples,200}   Subtract 200 from "apples".
  480.  
  481.      Numeric variables and the numbers to be subtracted may range from
  482.      0 to 65535.  The default number is 1.
  483.  
  484.      If the result is less than 0 or if either argument is out of
  485.      range, then the variable will be set to the string "ERROR".
  486.  
  487.      If the variable is not numeric, the results will be
  488.      unpredictable.
  489.  
  490.      See also INCRement.
  491.  
  492.      ____
  493.  
  494.      DIAL
  495.      ____
  496.  
  497.      Default keys:  Alt-D, Alt-N
  498.      Description:   Open Dialing Directory, dial marked systems.
  499.  
  500.      General form:
  501.  
  502.           {DIAL tries,label1,label2}
  503.  
  504.                tries     The maximum number of dialing tries.  If no
  505.                          connection is established when the try count
  506.                          is exhausted, the macro in the second
  507.  
  508.  
  509.  
  510.                          argument will be started.  May be 0 to 999. 
  511.                          "0" means unlimited.  Default is 0.
  512.  
  513.                label1    A macro to GOTO if the try count in the first
  514.                          argument is exhausted.  If no macro is
  515.                          specified or if the macro label is invalid,
  516.                          control will pass to the next function. 
  517.                          Default is none.
  518.  
  519.                          If the "C" switch is used, the macro will be
  520.                          CALLed.  When a RETUrn is executed, control
  521.                          will return to the DIAL function.
  522.  
  523.                label2    A macro to GOTO when a response is matched
  524.                          during the Inter-dial Delay.  Response
  525.                          strings are listed in the reserved variable
  526.                          "_dialir" and are usually defined in the
  527.                          Setup File.
  528.  
  529.                          If the "C" switch is used, the macro will be
  530.                          CALLed.  When a RETUrn is executed, control
  531.                          will return to the DIAL function.
  532.  
  533.      Switches:
  534.  
  535.                C1 or C   Specifies that macros will be started via
  536.                          CALL (instead of GOTO).  When the macros
  537.                          execute a RETUrn, control returns to the DIAL
  538.                          function and Multi Number Dialing will
  539.                          resume.
  540.  
  541.                          The "C" switch applies to the Linked Macro
  542.                          (from the Dialing Directory), the "tries
  543.                          exhausted" macro and to the Inter-dial Delay
  544.                          macro.
  545.  
  546.                C0        Start dialing macros via GOTO (default).
  547.  
  548.      Examples:
  549.  
  550.           {dial}              Open Dialing Directory window (similar
  551.                               to Alt-D).
  552.  
  553.           {dial ,}            Multi Number Dial (similar to Alt-N).
  554.  
  555.           {dial 25,abc}       Multi Number Dial with try count.
  556.  
  557.           {dial-C ,}          Multi Number Dial, CALL Linked Macros.
  558.  
  559.           {dial-c ,,inter}    Multi Number Dial with Inter-dial Delay
  560.                               macro.
  561.  
  562.  
  563.  
  564.      Marking Numbers for Dialing
  565.      ---------------------------
  566.  
  567.      Numbers may be marked in one of several ways:
  568.  
  569.           1)   Manually in the Dialing Directory window.
  570.           2)   By placing Dialing Strings on the {COMMO} command line.
  571.           3)   Using the MARK macro function.
  572.  
  573.      Marked numbers will be redialed in sequence.  If a connection
  574.      occurs and a valid Linked Macro is specified in the Dialing
  575.      Directory, the macro will be started via GOTO (unless the "C"
  576.      switch is present).  If no macro is specified in the Dialing
  577.      Directory, control is passed to the next function.
  578.  
  579.      If no numbers are marked when executing the DIAL, control will
  580.      pass to the next function.
  581.  
  582.  
  583.      Automatic Resumption of Dialing
  584.      -------------------------------
  585.  
  586.      Here are two methods for resuming at the end of a Linked Macro. 
  587.      Both allow multiple systems to be called without operator
  588.      intervention.
  589.  
  590.           1)   Use the "C" switch on the DIAL function.  Each Linked
  591.                Macro should end with a RETUrn which will transfer
  592.                control back to the DIAL.  When all numbers have been
  593.                called, control will pass to the function following the
  594.                DIAL.
  595.  
  596.           2)   At the end of each Linked Macro (after logging off),
  597.                GOTO a macro such as this:
  598.  
  599.                     {:nocar} {pause 1} {ifcarrier nocar} {dial ,} {}
  600.  
  601.                This ensures that carrier has dropped before DIALing
  602.                the next number.  The PAUSe allows data to display on
  603.                the screen while waiting for carrier to drop.
  604.  
  605.  
  606.      Testing Success and Failure Results
  607.      -----------------------------------
  608.  
  609.      Details about a successful or failed dialing attempt are
  610.      available in several reserved variables (see Appendix B "List of
  611.      Reserved Variables" for complete descriptions):
  612.  
  613.           _dtc      Dialing termination code
  614.           _dialrt   Dialing response text
  615.           _mod      Speed reported by modem (normally in the CONNECT
  616.                     or CARRIER response)
  617.  
  618.  
  619.  
  620.      After a successful attempt the variables "_dialrt" and "_mod" may
  621.      be tested in your Linked Macro.  For example, if you expected a
  622.      high-speed connect and the speed reported was 2400 or 1200, then
  623.      you may want to hang up and try again later.
  624.  
  625.      You can get control after each failed attempt by using "DIAL 1",
  626.      with or without a macro.  For example:
  627.  
  628.           1)   {dial-c 1,nocon} ...
  629.  
  630.                The Linked Macro and the "no connect" macro will be
  631.                CALLed (the "C" switch).  The variables "_dtc" and
  632.                "_dialrt" may be tested in the macro at "nocon".
  633.  
  634.           2)   {dial 1} ...
  635.  
  636.                Control will pass to the next function if a dialing
  637.                attempt fails or when no more systems are marked (test
  638.                "_dtc" to determine which).
  639.  
  640.      If the testing indicates that the system should not be dialed
  641.      again (e.g., it did not answer, _dtc = 3), the UNMArk function
  642.      can be used with the "L" switch to unmark the last number dialed:
  643.      {unmark-l}.
  644.  
  645.  
  646.      Handling Incoming Calls
  647.      -----------------------
  648.  
  649.      Most modems return the string "RING" when a call comes in.  If
  650.      this happens during the Inter-dial Delay, you may choose to stop
  651.      dialing (to answer a voice call) or to send a brief message to a
  652.      modem caller (during a BBS event, for example).
  653.  
  654.      Use "label2" on the DIAL function to process responses during the
  655.      Inter-dial Delay.  For example:
  656.  
  657.           {dial ,,incoming}
  658.  
  659.      The macro at "incoming" will execute if the modem sends an Inter-
  660.      dial Delay response string. 
  661.  
  662.      See also: SETDial, MARK, UNMArk.
  663.  
  664.      ______
  665.  
  666.      DIVIde
  667.      ______
  668.  
  669.      Default key:   none
  670.      Description:   Divide a numeric variable by a number.
  671.  
  672.      Example:
  673.  
  674.           {divi space,1024}        Divide "space" by 1024.
  675.  
  676.  
  677.  
  678.  
  679.      Numeric variables may range from 0 to 65535, the divisors may
  680.      range from 1 to 65535.  The default divisor is 1.
  681.  
  682.      The named variable will be set to the quotient, the built-in
  683.      variable "_rem" will be set to the remainder.
  684.  
  685.      If the divisor is zero or if either argument is out of range,
  686.      then the variable will be set to the string "ERROR".
  687.  
  688.      If the variable is not numeric, the results will be
  689.      unpredictable.
  690.  
  691.      _______
  692.  
  693.      EXECute   (excerpts pertaining to Swap to Disk)
  694.      _______
  695.  
  696.      Default key:   none
  697.      Description:   Execute a DOS command.
  698.  
  699.      Switches:
  700.  
  701.                S1 or S   Swap to Disk before executing the program
  702.                          (see details below).
  703.  
  704.                S0        Do not swap to disk (default).
  705.  
  706.  
  707.      Using the Swap to Disk Switch: EXEC-S
  708.      -------------------------------------
  709.  
  710.      The "S" switch will direct {COMMO} to write the program and
  711.      associated data to the disk file specified with the Setup File
  712.      item "swp=" (under "Paths and Files").  This will free up between
  713.      50k and 180k of memory, depending on the sizes of your Scrollback
  714.      Buffer, Dialing Directory and Macro File.
  715.  
  716.      If the Swap File cannot be opened or there is not enough disk
  717.      space for the swap, the EXECute (or SHELl) will be attempted
  718.      without swapping.  When the program or shell exits back to
  719.      {COMMO}, the program and data will be restored from the disk
  720.      file.  Any errors in this process will cause {COMMO} to exit to
  721.      DOS.
  722.  
  723.      TIPS on using Swap to Disk:
  724.  
  725.      >    The serial port will be closed during the swap (normally it
  726.           is left open to receive characters during EXECute and
  727.           SHELl).  To avoid losing any data swapping should be
  728.           initiated when the remote system is quiet (or when you are
  729.           offline).
  730.  
  731.      >    Use Swap to Disk when running major applications such as
  732.           external protocol drivers, offline mail readers, etc.  Using
  733.  
  734.  
  735.  
  736.           it with internal DOS functions (DEL, COPY, REN, etc.) or
  737.           very small programs is inefficient and unnecessary.
  738.  
  739.      >    If possible, specify the Swap File on a RAMDISK.  This will
  740.           speed up the swap considerably.  A ramdisk program is
  741.           supplied with DOS (RAMDRIVE.SYS or VDISK.SYS) or you can
  742.           obtain one from a BBS.
  743.  
  744.      >    Be sure to specify a complete pathname for the Swap File.
  745.  
  746.      >    Do not run any TSR (resident) programs when swapping is in
  747.           effect.  Doing so may result in a swap error.
  748.  
  749.      _________
  750.  
  751.      INCRement
  752.      _________
  753.  
  754.      Default key:   none
  755.      Description:   Add a number to a numeric variable.
  756.  
  757.      Examples:
  758.  
  759.           {incr count}             Add 1 to the variable "count".
  760.           {incr oranges,1234}      Add 1234 to "oranges".
  761.  
  762.      Numeric variables and the numbers to be added may range from 0 to
  763.      65535.  The default number is 1.
  764.  
  765.      If the result is greater than 65535 or if either argument is out
  766.      of range, then the variable will be set to the string "ERROR".
  767.  
  768.      If the variable is not numeric, the results will be
  769.      unpredictable.
  770.  
  771.      See also DECRement.
  772.  
  773.      ________
  774.  
  775.      MULTiply
  776.      ________
  777.  
  778.      Default key:   none
  779.      Description:   Multiply a numeric variable by a number.
  780.  
  781.      Example:
  782.  
  783.           {mult money,10}          Multiply "money" by 10.
  784.  
  785.      Numeric variables and the multipliers may range from 0 to 65535. 
  786.      The default multiplier is 1.
  787.  
  788.      If the result is greater than 65535 or if either argument is out
  789.      of range, then the variable will be set to the string "ERROR".
  790.  
  791.  
  792.  
  793.      If the variable is not numeric, the results will be
  794.      unpredictable.
  795.  
  796.      _______
  797.  
  798.      RXMOdem
  799.      _______
  800.  
  801.      Default key:   none
  802.      Description:   Receive a file using the Xmodem protocol.
  803.  
  804.      Switches:
  805.  
  806.                See RYMOdem (switches are the same).
  807.  
  808.      Example:
  809.  
  810.           {rxmo-ya c:\dl\file.zip}      Receive "file.zip", overwrite
  811.                                         the file if it exists, sound
  812.                                         the alarm.
  813.  
  814.      Only one file may be received with each RXMOdem function (the
  815.      file must be explicitly named, but need not be given the same
  816.      name as on the remote system).
  817.  
  818.      See RYMOdem for tips that apply to both RXMOdem and RYMOdem.
  819.  
  820.      See also SXMOdem, RYMOdem.
  821.  
  822.      _______
  823.  
  824.      RYMOdem
  825.      _______
  826.  
  827.      Default key:   none
  828.      Description:   Receive files using the Ymodem Batch protocol.
  829.  
  830.      Switches:
  831.  
  832.                C1 or C   Use CRC error correction (default).
  833.                C0        Use Checksum error correction.
  834.  
  835.                G1 or G   Use streaming (fast) transfer method.
  836.                          IMPORTANT:  Use only with error-correcting
  837.                          modems or direct connections between
  838.                          computers.
  839.                G0        Use normal (error correcting) transfer method
  840.                          (default).
  841.  
  842.                Y1 or Y   Overwrite an existing file when a received
  843.                          file has the same name (the existing file
  844.                          will be erased).
  845.                Y0        Cancel the transfer if a received file has
  846.                          the same name as an existing file (default).
  847.  
  848.  
  849.  
  850.                D1 or D   Cancel transfer if carrier detect is lost
  851.                          (default).
  852.                D0        Ignore state of carrier detect.
  853.  
  854.                A1 or A   Sound the alarm at the end of the transfer.
  855.                A0        Do not sound the alarm (default).
  856.  
  857.                W         Wait for a keypress at end of transfer.
  858.                Wn        Wait for "n" seconds, "n" may range from 0 to
  859.                          999.  Press a key to cancel the wait.
  860.                          Note:  Default (no "W" switch) is no wait.
  861.  
  862.      Examples:
  863.  
  864.           {rymo-ya %dldir}    Receive files into the download
  865.                               directory, overwrite a file if it
  866.                               exists, sound the alarm.
  867.  
  868.           {rymo-gw3}          Receive files using the "G" method into
  869.                               the current directory.  Wait 3 seconds
  870.                               before returning to the Terminal Screen.
  871.  
  872.      Ymodem is a "batch" protocol that will receive multiple files. 
  873.      Filenames are transmitted by the sender and are used to name
  874.      files at the receiving end.  A filename "collision" will cause
  875.      the transfer to cancel unless the "Y" switch is used.  File sizes
  876.      are also transmitted by the sender and are used to truncate the
  877.      file to the proper size.
  878.  
  879.      TIPS on using RYMOdem and RXMOdem:
  880.  
  881.      >    The "G" method is specified by the receiver.  Be sure that
  882.           the sender allows it before starting.
  883.  
  884.      >    Block size is established by the sender and may be changed
  885.           on a block-by-block basis (always 1024 when the "G" method
  886.           is used).
  887.  
  888.      >    Some conditions that will cancel a transfer:
  889.             1) 10 consecutive errors.
  890.             2) Any error when "G" method is used.
  891.             3) The file to be received already exists and the "Y"
  892.                switch is not present.
  893.             4) The sender has transmitted CAN (^X) characters.
  894.  
  895.      >    The Exit Code (test with IFER) will be set at the end of the
  896.           transfer.  The Exit Code will also be stored in the variable
  897.           "_err".  0 means success, 1 means failure.
  898.  
  899.      >    If the Usage Log is enabled, an entry will be made after
  900.           each file is transferred (or if a transfer is cancelled).
  901.  
  902.      See also SXMOdem, RYMOdem.
  903.  
  904.  
  905.  
  906.      _______
  907.  
  908.      SETDial
  909.      _______
  910.  
  911.      Default key:   none
  912.      Description:   Set parameters for dialing.
  913.  
  914.      Examples:
  915.  
  916.           {setdial 60,15}          Set the dialing cycle timer to 60
  917.                                    seconds and the Inter-dial Delay to
  918.                                    15 seconds.
  919.  
  920.           {setd ,3}                Change only the Inter-dial Delay
  921.                                    timer.
  922.  
  923.      The first argument is the dialing cycle time limit.  This is the
  924.      amount of time {COMMO} will allow after sending the dial command
  925.      to the modem.  Range is from 1 to 999.
  926.  
  927.      The second argument is the inter-dial delay timer.  This is the
  928.      amount of time before {COMMO} dials the next number.  Range is
  929.      from 1 to 999.
  930.  
  931.      NOTE:  Changes to dialing parameters override the Setup File
  932.      values and remain in effect until {COMMO} is exited.
  933.  
  934.      See also DIAL.
  935.  
  936.      _____
  937.  
  938.      SHELl
  939.      _____
  940.  
  941.      Default key:   Alt-S
  942.      Description:   Shell to DOS.
  943.  
  944.      Switches:
  945.  
  946.                S1 or S   Swap to disk before shelling to DOS (see
  947.                          details under EXECute, "Using the Swap to
  948.                          Disk Switch").
  949.  
  950.                S0        Do not swap to disk (default).
  951.  
  952.      Examples:
  953.  
  954.           {shell}             No arguments.
  955.           {shell-s}           Swap to disk before shelling to DOS.
  956.  
  957.  
  958.  
  959.      ______
  960.  
  961.      SIGNal
  962.      ______
  963.  
  964.      Default key:   none
  965.      Description:   Set state of hardware signals.
  966.  
  967.      Switches:
  968.  
  969.                D1 or D        Set DTR high.
  970.                D0             Set DTR low.
  971.                R1 or R        Set RTS high.
  972.                R0             Set RTS low.
  973.  
  974.      Example:
  975.  
  976.           {signal-d0r1}            Turn off DTR, turn on RTS.
  977.  
  978.      The "D" and "R" switches are used to control the RS-232C signals
  979.      DTR (Data Terminal Ready) and RTS (Request To Send).  The default
  980.      for each switch is to leave the signal unchanged.  Use these with
  981.      care due to interaction with Hardware Flow Control, etc.
  982.  
  983.      _______
  984.  
  985.      SXMOdem
  986.      _______
  987.  
  988.      Default key:   none
  989.      Description:   Send a file using the Xmodem protocol.
  990.  
  991.      Switches:
  992.  
  993.                See SYMOdem (switches are the same).
  994.  
  995.      Example:
  996.  
  997.           {sxmo-ka c:\ul\file.zip}      Send "file.zip" using 1024
  998.                                         byte block size, sound the
  999.                                         alarm.
  1000.  
  1001.      Only one file may be sent with each SXMOdem function.
  1002.  
  1003.      See SYMOdem for tips that apply to both SXMOdem and SYMOdem.
  1004.  
  1005.      See also RXMOdem, SYMOdem.
  1006.  
  1007.      _______
  1008.  
  1009.      SYMOdem
  1010.      _______
  1011.  
  1012.      Default key:   none
  1013.      Description:   Send a file using the Ymodem Batch protocol.
  1014.  
  1015.  
  1016.  
  1017.  
  1018.      Switches:
  1019.  
  1020.                K1 or K   Use 1024 byte block size (Xmodem-1k).
  1021.                K0        Use 128 byte block size (default).
  1022.  
  1023.                D1 or D   Cancel transfer if carrier detect is lost
  1024.                          (default).
  1025.                D0        Ignore state of carrier detect.
  1026.  
  1027.                A1 or A   Sound the alarm at end of transfer.
  1028.                A0        Do not sound the alarm (default).
  1029.  
  1030.                W         Wait for a keypress at end of transfer.
  1031.                Wn        Wait for "n" seconds, "n" may range from 0 to
  1032.                          999.  Press a key to cancel the wait.
  1033.                          Note:  Default (no "W" switch) is no wait.
  1034.  
  1035.      Examples:
  1036.  
  1037.           {symo-ka %uldir\*.zip}        Send all .ZIP files in the
  1038.                                         upload directory using 1024
  1039.                                         byte block size, sound the
  1040.                                         alarm.
  1041.  
  1042.           {symo-k c:\subdir\*.*,@c:\ul\file.lst,info.txt,a:*.qw?}
  1043.                                         Send all files listed using
  1044.                                         1024 byte block size.
  1045.  
  1046.      Any combination of file specifications may be listed in the
  1047.      SYMOdem function (separated with commas).  These may include
  1048.      wildcard specifiers (*,?), the indirect file specifier (@) and
  1049.      any single files.
  1050.  
  1051.      If a filespec is preceded with the "@" sign, it will be assumed
  1052.      to be an "indirect file."  This means that it is a text file
  1053.      containing a list of filespecs.  Filespecs should be listed one
  1054.      per line and each line should end with a cr/lf.  Each filespec
  1055.      may contain wildcards.  For example:
  1056.  
  1057.           c:\subdir\*.*
  1058.           info.txt
  1059.           a:*.qw?
  1060.  
  1061.      TIPS on using SYMOdem and SXMOdem:
  1062.  
  1063.      >    CRC vs. Csum mode is established by the receiver.
  1064.  
  1065.      >    Use of "G" method is established by the receiver.
  1066.  
  1067.      >    Some conditions that will cancel a transfer:
  1068.             1) 10 consecutive errors.
  1069.             2) Any error when "G" method is used.
  1070.             3) The receiver has transmitted CAN (^X) characters.
  1071.  
  1072.  
  1073.  
  1074.      >    The Exit Code (test with IFER) will be set at the end of the
  1075.           transfer.  The Exit Code will also be stored in the variable
  1076.           "_err".  0 means success, 1 means failure.
  1077.  
  1078.      >    If the Usage Log is enabled, an entry will be made after
  1079.           each file is transferred (or if a transfer is cancelled).
  1080.  
  1081.      See also RYMOdem, SXMOdem.
  1082.  
  1083.  
  1084.                                   - end -
  1085.  
  1086.